package com.bicon.botu.finance.payment.repository;


import com.bicon.botu.finance.payment.entity.AppPaymentInfoEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

/**
 * Created by L on 2017/6/23.
 */
@RepositoryRestResource(path = "appPaymentInfo",collectionResourceRel = "appPaymentInfo")
public interface AppPaymentInfoRepository extends MongoRepository<AppPaymentInfoEntity,String> {

    AppPaymentInfoEntity findOneByCode(String code);
}
